<?php
/*
+---------------------------------------------------------------+
|	Released under the terms and conditions of the
|	GNU General Public License (http://gnu.org).
+---------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }

// [multilanguage]
include_lan(e_THEME."khatru/languages/".e_LANGUAGE.".php");

// [theme]
$themename = "Cleveland Education and Training center";
$themeversion = "1.0";
$themeauthor = "Dean Ditton";
$themeemail = "";
$themewebsite = "";
$themedate = "28/05/2005";
$themeinfo = "Adapted fromt the khatru theme";
define("STANDARDS_MODE", TRUE);
$xhtmlcompliant = TRUE;
$csscompliant = TRUE;
define("IMODE", "lite");
define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>");

// [layout]

$layout = "_default";


define("BOXOPEN", "
<div class='spacer'>
	<div class='dcaption'>
		<div class='left'></div>
		<div class='right'></div>
		<div class='center'>");

			define("BOXMAIN", "
		</div>
	</div>
	<div class='dbody'>
		<div class='leftwrapper'>
			<div class='rightwrapper'>
				<div class='leftcontent'></div>
				<div class='rightcontent'></div>
				<div class='dcenter'><div class='dinner'>
					");

					define("BOXCLOSE", "
				</div></div>
			</div>
		</div>
	</div>
	<div class='dbottom'>
		<div class='left'></div>
		<div class='right'></div>
		<div class='center'></div>
	</div>
</div>");

define("BOXOPEN2", "
<div class='spacer'>
	<div class='dntop'></div>
	<div class='dbody'>
		<div class='leftwrapper'>
			<div class='rightwrapper'>
				<div class='leftcontent'></div>
				<div class='rightcontent'></div>
				<div class='dcenter'><div class='dinner'>
				");

				define("BOXCLOSE2", "
				</div></div>
			</div>
		</div>
	</div>
	<div class='dbottom'>
		<div class='left'></div>
		<div class='right'></div>
		<div class='center'></div>
	</div>
</div>
");



$HEADER = "
	{LINKSTYLE=menu}
	<div id='header'>
		<div id='images'>
			<div id='logo1'>&nbsp;</div>
			<div id='headerr'>&nbsp;</div>
			<div id='banner'>div>
		</div>
		<div id='navigation'>
		{SITELINKS=menu:1}
		{SITELINKS=flat:4}
			<div id='floatinglist'>
			{SITELINKS=floatingMenu:2}
			</div>
		</div>
	</div>


	<div id='mainbox'>
		<div class='clear'>
			<div id='leftcontent'>
			</div>
			<div id='rightcontent'>
				{MENU=2}
			</div>
			<div id='centercontent'>
	";


$FOOTER = "
		</div>
	</div>
	<div id='footer'>
		{SITEDISCLAIMER}<br />
		<br />
		<a href='http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=86'><img alt='e107 recommends Firefox' title='e107 recommends Firefox' src='http://sfx-images.mozilla.org/affiliates/Buttons/125x50/takebacktheweb_125x50.png' style='border: 0;' /></a>
	</div>
</div>
";



function tablestyle($caption, $text){
		echo "
	<div class='dcaption'>
		<div class='left'></div>
		<div class='right'></div>
		<div class='center'>$caption</div>
	</div>
	<div class='dbody'>
		<div class='leftwrapper'>
			<div class='rightwrapper'>
				<div class='leftcontent'></div>
				<div class='rightcontent'></div>
				<div class='dcenter'><div class='dinner'>$text</div></div>
			</div>
		</div>
	</div>
	<div class='dbottom'>
		<div class='left'></div>
		<div class='right'></div>
		<div class='center'></div>
	</div>
	";
}

// [linkstyle]

define('PRELINK', "");
define('POSTLINK', "");
define('LINKSTART', "");
define("LINKSTART_HILITE", "");
define('LINKEND', "<br />");
define('LINKDISPLAY', 2);
define('LINKALIGN', "center");
define("BULLET", "bullet.png");
define("bullet", "bullet.png");

//Nav Menu
function linkstyle($linkstyle) {

   switch ($linkstyle) {
   case 'menu':
      $linkstyleset['linkdisplay'] = 1;
      $linkstyleset['prelink'] = "<ul id=\"nav\"><li>";
      $linkstyleset['postlink'] = "</ul>";
      $linkstyleset['linkstart'] = "";
      $linkstyleset['linkend'] = "";
      $linkstyleset['linkstart_hilite'] = "";
      $linkstyleset['linkclass_hilite'] = "active";
      $linkstyleset['linkseparator'] = "</li><li>";
      $linkstyleset['linkclass'] = "mainMenu";
      $linkstyleset['linkalign'] = 'center';
      $linkstyleset['subprelink'] = "<ul>";
      $linkstyleset['subpostlink'] = "</ul>";
      $linkstyleset['sublinkstart'] = "<li>";
      $linkstyleset['sublinkend'] = "</li>";      
      $linkstyleset['sublinkclass'] = "subMenu";
      $linkstyleset['subindent'] = "";
  
   }
   
   return $linkstyleset;
}

//Floating menu
function linkstyle($linkstyle) {

   switch ($linkstyle) {
   case 'floatingMenu':
      $linkstyleset['linkdisplay'] = 1;
      $linkstyleset['prelink'] = "<ul id=\"nav\"><li>";
      $linkstyleset['postlink'] = "</ul>";
      $linkstyleset['linkstart'] = "";
      $linkstyleset['linkend'] = "";
      $linkstyleset['linkstart_hilite'] = "";
      $linkstyleset['linkclass_hilite'] = "active";
      $linkstyleset['linkseparator'] = "</li><li>";
      $linkstyleset['linkclass'] = "mainMenu";
      $linkstyleset['linkalign'] = 'center';
      $linkstyleset['subprelink'] = "<ul>";
      $linkstyleset['subpostlink'] = "</ul>";
      $linkstyleset['sublinkstart'] = "<li>";
      $linkstyleset['sublinkend'] = "</li>";      
      $linkstyleset['sublinkclass'] = "subMenu";
      $linkstyleset['subindent'] = "";
  
   }
   
   return $linkstyleset;
}
$NEWSSTYLE = "
<div class='newheadline'>
	{NEWSTITLE}
</div>
<div class='newsinfo'>
	{NEWSAUTHOR}
	, 
	{NEWSDATE}
	 // 
	{NEWSCOMMENTS}{TRACKBACK}
</div>
<br />
<div class='newstext'>
	{NEWSBODY}
	{EXTENDED}
</div>
<br /><br />";
define("ICONSTYLE", "float: left; border:0");
define("COMMENTLINK", LAN_THEME_3);
define("COMMENTOFFSTRING", LAN_THEME_2);
define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
define("EXTENDEDSTRING", LAN_THEME_4);
define("POST_EXTENDEDSTRING", " ]<br />");
define("TRACKBACKSTRING", LAN_THEME_5);
define("TRACKBACKBEFORESTRING", ", ");

$CHATBOXSTYLE = "
	<br />
	<img src='".THEME_ABS."images/bullet.png' alt=''  />
	<span class='chatb'>{USERNAME}</span>
	<div class='smalltext'>
		{TIMEDATE}<br />
	</div>
	{MESSAGE}
	<br /><br />";
	
$COMMENTSTYLE = "
<table style='width:100%'>
	<tr>
		<td colspan='2' class='commentinfo'>
			{SUBJECT}
			<b>
				{USERNAME}
			</b>
			 |
			{TIMEDATE}
		</td>
	</tr>
	<tr>
		<td style='width:30%; vertical-align:top'>
			<div class='spacer'>
				{AVATAR}
			</div>
			<span class='smalltext'>
				{COMMENTS}
				<br />
				{JOINED}
			</span>
			<br />
			{REPLY}
		</td>
		<td style='width:70%; vertical-align:top'>
			{COMMENT}
			<div style='text-align: right;' class='smallext'>{IPADDRESS}</div>
		</td>
	</tr>
</table>
<br />";

?>